

try:
    from app.proxy_pool import ProxyPool
except ModuleNotFoundError:
    import os
    import sys
    sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))  # 离开IDE也能正常导入自己定义的包
    from app.proxy_pool import ProxyPool


def main():
    proxy_pool = ProxyPool()
    proxy_pool.run()


if __name__ == '__main__':
    main()
